
<template>
    <div class="card-title">
        <span class="circle-outter">
            <span class="circle-inner"></span>
        </span>
        <span class="title">{{ title }}</span>
        <slot></slot>
    </div>
</template>

<script setup>
    export default {
        props:{
            title: {
                type: String,
                default: '',
            },
        }
    }
</script>


<style lang="less" scoped>
.card-title {
    display: flex;
    align-items: center;
    // width: 100%;
    color: #1B2A52;
    font-size: 20px;
    font-weight: 300;
    font-family: PingFang SC;
}
.circle-outter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F99C3480;
    margin-right: 10px;
}
.circle-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #F99C3480;
}
.title{
    margin-right: 5px;
    font-weight: bold;
}
</style>